/*
* 专辑详情类
* */
import {Singer} from "@/ts.d/classes/Singer";

export class AlbumDetail {
  name: string;
  singer: Singer[];
  publishTime: string;
  mid: number;
  company: string;
  desc: string;

  get cover() {
    return `https://y.gtimg.cn/music/photo_new/T002R300x300M000${this.mid}.jpg`
  }

  constructor(name: string, singer: Singer[], publishTime: string, mid:  number, company: string, desc: string) {
    this.name = name;
    this.singer = singer;
    this.publishTime = publishTime;
    this.mid = mid;
    this.company = company;
    this.desc = desc;
  }
}
